home *** CD-ROM | disk | FTP | other *** search
- package Code.LIB.COMPONENTS
- {
- import Code.LIB._dk430;
- import Code.LIB._oo505;
- import Code.LIB._rs402;
- import flash.display.BitmapData;
- import flash.events.Event;
- import flash.geom.Point;
- import flash.geom.Rectangle;
-
- public class _is281 extends _dk430
- {
- private var iBitmaps:Array;
-
- private var iProgress:int;
-
- private var iInd:int;
-
- private var iBitmap:_oo505;
-
- public function _is281(param1:_oo505, param2:_oo505, param3:_oo505)
- {
- var _loc4_:_oo505 = null;
- var _loc5_:_oo505 = null;
- var _loc6_:int = 0;
- var _loc7_:Number = NaN;
- var _loc8_:BitmapData = null;
- var _loc9_:_oo505 = null;
- super();
- _loc4_ = param1;
- _loc5_ = param2;
- this.iBitmaps = new Array();
- this.addChild(_loc5_);
- _loc6_ = 0;
- while(_loc6_ < 100)
- {
- _loc7_ = (_loc6_ + 1) / 100;
- _loc8_ = new BitmapData(_loc4_.bitmapData.width,_loc7_ * _loc4_.bitmapData.height,true,255);
- _loc8_.copyPixels(_loc4_.bitmapData,new Rectangle(0,_loc4_.bitmapData.height - _loc7_ * _loc4_.bitmapData.height,_loc4_.bitmapData.width,_loc7_ * _loc4_.bitmapData.height),new Point(0,0));
- _loc9_ = new _oo505();
- _loc9_.bitmapData = _loc8_;
- _loc9_._vg471 = (_loc4_.bitmapData.height - _loc7_ * _loc4_.bitmapData.height) / _rs402._oy577;
- this.iBitmaps.push(_loc9_);
- _loc6_++;
- }
- this.iBitmap = new _oo505();
- iBitmap._ru276 = _loc4_._ru276;
- iBitmap._ob68 = _loc4_._ob68;
- iBitmap._vq458 = 0;
- iBitmap._vg471 = 0;
- this.addChild(param3);
- this.addChild(iBitmap);
- iProgress = 1;
- iInd = 0;
- }
-
- public function get _wq701() : int
- {
- return this.iInd;
- }
-
- public function get _io94() : int
- {
- return this.iProgress;
- }
-
- override public function onEnterFrame(param1:Event) : void
- {
- if(iProgress != iInd)
- {
- iInd += iInd < iProgress ? 1 : -1;
- iBitmap.bitmapData = _oo505(iBitmaps[iInd - 1]).bitmapData;
- iBitmap._vg471 = _oo505(iBitmaps[iInd - 1])._vg471;
- }
- }
-
- public function set _io94(param1:int) : void
- {
- if(param1 == iProgress)
- {
- return;
- }
- this.iProgress = param1;
- if(iProgress < 0)
- {
- iProgress = 0;
- }
- if(iProgress > 100)
- {
- iProgress = 100;
- }
- }
- }
- }
-
-